package com.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @description:
 * @author: wu linchun
 * @time: 2021/4/4 22:56
 */
@Data   //@Data注解中包含了@Getter、@Setter、@ToString、@EqualsAndHashCode等很多注解的功能（需先引入lombok依赖
@AllArgsConstructor   //全参构造函数
@NoArgsConstructor   //无参构造函数
public class Grade {
    private int id;
    private String subject;
    private int grade;
}
